<html>
	<head>
		<base href="{$basedir}">
		<link href="includes/themes/{$theme}/style.css" type="text/css" rel="stylesheet">
		<link href="includes/themes/{$theme}/add.css" type="text/css" rel="stylesheet">
		<title>
					{$name}
		</title>
	</head>
	<body>
	<div id="page">
		<div id="header">
			<h1><a href="./">
					{$name}
				</a></h1>
				<p id="blog_description">Photo Gallery</p>
		</div>
		<div id="content">
		<div class="post">
<a href="{$imageurl}" class="null"><img alt="Click to download picture" src="{$imageurl}" width="480"></a>
		<div class="line">
		<span class="left">{if ($before)}<a href="{$before}">Previous</a>{/if}</span>{$imagename}<span class="right">{if ($after)}<a href="{$after}">Next</a>{/if}</span>
		</div>
		</div>
        </div>
        <div id="sidebar">
        <ul>
        <li class="pagenav">
        <h2>Photo Gallery</h2>
        <ul>
        <li class="page_item">
        <a href="./">Home</a>
        </li>
        </ul>
        
        <h2>{$album}</h2>
        <ul>
        {if ( $after)}
		<li class="page_item">
		<a href="{$after}">Next</a>
		</li>
		{/if}

        {if ( $before )}
		<li class="page_item">
		<a href="{$before}">Previous</a>
		</li>
		{/if}
        </ul>
        </li>
        </ul>
        </div>
      
		<div id="footer">  <br/>Powered by 
		<br/><a href="{$url}">{$linkname}</a> and theme ported from wordpress Milk by Michael Wheeler.
		</div>
	</div>
	</body>
</html>
